package com.lanou3g.dllo.baidumusic.musiclibrary.radio;

import android.content.Intent;
import android.view.View;
import android.widget.Button;

import com.lanou3g.dllo.baidumusic.R;
import com.lanou3g.dllo.baidumusic.base.BaseFragment;
import com.lanou3g.dllo.baidumusic.base.MyApp;

/**
 * Created by dllo on 16/6/17.
 */
public class RadioFragment extends BaseFragment{
    private Button radioMoreBtn;
    @Override
    public int setLayout() {
        return R.layout.fragment_radio;
    }

    @Override
    public void initView(View view) {
        radioMoreBtn = (Button) view.findViewById(R.id.radio_more_btn);
    }

    @Override
    public void initData() {

        radioMoreBtn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(getActivity(),RadioDetailActivity.class);
                startActivity(intent);
            }
        });

    }
}
